package com.cykj.system.api.model;

import com.cykj.system.api.domain.BsUser;

import java.io.Serializable;

/**
 * @Program: Cykj-Order-System
 * @Package: com.cykj.system.api.model
 * @Author: 张俊杰
 * @Create: 2025-08-21 23:58
 * @Description: 商家端登录信息
 * @Vision: 1.0
 **/
public class BsLoginUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户token令牌
     */
    private String token;

    /**
     * 用户名id
     */
    private Long userId;


    /**
     * 登录时间
     */
    private Long loginTime;

    /**
     * 过期时间
     */
    private Long expireTime;

    /**
     * 用户名
     */
    private String username;

    /**
     * 商家用户信息
     */
    private BsUser bsUser;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public BsUser getBsUser() {
        return bsUser;
    }

    public void setBsUser(BsUser bsUser) {
        this.bsUser = bsUser;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userid) {
        this.userId = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Long getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Long loginTime) {
        this.loginTime = loginTime;
    }

    public Long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Long expireTime) {
        this.expireTime = expireTime;
    }
}
